﻿<UserControl x:Class="PSE.Tools.SchemaComparer.WindowsApp.UcExtractor"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    >
    <Grid Grid.Row="0">
        <Grid.RowDefinitions>
            <RowDefinition Height="24"></RowDefinition>
            <RowDefinition Height="24"></RowDefinition>
            <RowDefinition Height="24"></RowDefinition>
            <RowDefinition Height="24"></RowDefinition>
            <RowDefinition Height="24"></RowDefinition>
            <RowDefinition Height="*"></RowDefinition>
        </Grid.RowDefinitions>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="120"></ColumnDefinition>
            <ColumnDefinition Width="*"></ColumnDefinition>
        </Grid.ColumnDefinitions>
        <Border Grid.Row="0" Grid.ColumnSpan="2" Background="LightGray" Panel.ZIndex="-1"></Border>
        <!--ROW 0-->
        <Label Grid.Row="0" Grid.ColumnSpan="2" >Informe abaixo os dados de conexão do Schema do qual a estrutura deverá ser extraída</Label>
        <!--ROW 1-->
        <Label Grid.Row="1">Data Source</Label>
        <TextBox Grid.Row="1" Grid.Column="1" x:Name="txtDataSource" Height="24" >
        </TextBox>
        <!--ROW 2-->
        <Label Grid.Row="2">User Name</Label>
        <TextBox Grid.Row="2" Grid.Column="1" x:Name="txtUserName" Height="24" ></TextBox>
        <!--ROW 3-->
        <Label Grid.Row="3">Password</Label>
        <PasswordBox Grid.Row="3" Grid.Column="1" x:Name="txtPassword" Height="24" ></PasswordBox>
        <!--ROW 4-->
        <Label Grid.Row="4">Arquivo de Saída</Label>
        <TextBox Grid.Row="4" Grid.Column="1" x:Name="txtFile" Height="24" Margin="0,0,24,0" ToolTip="Caminho do arquivo no qual serão armazenadas as informações(estruturais) do Schema" ></TextBox>
        <Button  Grid.Row="4" Grid.Column="1" x:Name="btnFile" Height="24" Width="24" HorizontalAlignment="Right" Click="btnFile_Click">...</Button>
        <!--ROW 5-->
        <CheckBox Margin="4,4,0,0" Grid.Row="5" VerticalAlignment="Top" HorizontalAlignment="Left" Grid.ColumnSpan="2" x:Name="chkCompactFile">Compactar arquivo de saída</CheckBox>
        <Button Margin="0,4,0,0" VerticalAlignment="Top" HorizontalAlignment="Right" Grid.Row="5" Grid.ColumnSpan="2" Width="150" Height="24" x:Name="btnExtract" Click="btnExtract_Click">Extrair DataBase Schema</Button>
    </Grid>
</UserControl>
